<template>
    <div id="main">
        <Header :title="title"/>
        <div id="content">
            <div class="cinema_menu">
				<div class="city_switch">
					全城 <i class="iconfont icon-lower-triangle"></i>
				</div>
				<div class="brand_swtich">
					品牌 <i class="iconfont icon-lower-triangle"></i>
				</div>
				<div class="feature_switch">
					特色 <i class="iconfont icon-lower-triangle"></i>
				</div>
			</div>
            <keep-alive>
                <Clist />
            </keep-alive>      
        </div>
        <Tarbar />
    </div>
</template>

<script>
//导入共用的头部和底部组件 @==src
import Header from "@/components/Header";
import Tarbar from "@/components/tabBar";
import Clist from "@/components/Clist";
export default {
    data(){
        return {
            title:"青柠影院"//属性传值
        }
    },
    name:"cinema",
    components:{
        Header,
        Tarbar,
        Clist
    }
}
</script>

<style scoped>
#content .cinema_menu{ width: 100%; height: 45px; border-bottom:1px solid #e6e6e6; display: flex; justify-content:space-around; align-items:center; background:white;}
</style>
